//
// Created by zhuyijun on 2021/8/16.
//

#include <iostream>
using namespace std;

int tom = 3;
int dick = 30;
static int harry = 300;

void remote_access();
/**
 * 编译时请同时编译twofile1.cpp 和twofile2.cpp 命令如下  g++ .\twofile2.cpp .\twofile1.cpp -o test
 * @return int
 */
int main() {

    using namespace std;
    cout << "main() reports the following address:\n";
    cout << &tom <<" = &tom, " << &dick <<" = &dick, ";
    cout << &harry <<" = &harry\n";
    remote_access();
    return 0;
}

